package orchestration.android.demo.library;

import orchestration.android.demo.library.model.Library;
import android.database.Cursor;

public class LoanBookActivity extends ListBookActivity {
	
	@Override
	protected Cursor getBookCursor(){
		return Library.getInstance().getBooks(this);
	}
	
	@Override
	protected void onBookChosen(long id) {
		Library.getInstance().makeLoan(this,id, "Carlo");
		
	}
}
